package com.jiyun.information.mapper;

import com.jiyun.pojo.chat.ChatMessage;
import com.jiyun.pojo.driver.DriverAttribute;
import com.jiyun.pojo.order.OrderComplaint;
import com.jiyun.pojo.order.OrderInformation;
import com.jiyun.pojo.order.OrderTime;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface InformationMapper {
    OrderComplaint getOrderComplaint(String orderId);

    OrderInformation getOrderInformation(String orderId);

    OrderTime getOrderTime(String orderId);

    OrderComplaint getComplaint(String orderId);

    List<OrderInformation> getOrderInformationList(String userId);

    List<HashMap<Integer, Integer>> getOrderStatusCount(String userId);

    DriverAttribute getDriverAttribute(Integer driverId);

    ChatMessage getChatMessage(Integer userId, Integer driverId);
}
